package com.whmskj.xjlhsc.panel.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.github.xiaoymin.knife4j.annotations.Ignore;
import com.whmskj.xjlhsc.controller.vo.Result;
import com.whmskj.xjlhsc.panel.pojo.vo.FrontSpinningVO;
import com.whmskj.xjlhsc.panel.service.imp.FrontSpinningServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiaruchun
 * @date 2025-09-10 13:31
 * @Description:  前纺看板接口
 */
//跳过token
@SaIgnore
@RestController
@RequestMapping("/panel/frontspinning")
public class FrontSpinningController {
    @Autowired
    private FrontSpinningServiceImpl frontSpinningServiceImpl;
    @RequestMapping("/getFrontSpinning")
    public Result getFrontSpinning(){
        FrontSpinningVO frontSpinningVO = frontSpinningServiceImpl.getFrontSpinning();
        return Result.success(frontSpinningVO);
    }
}
